package com.ai.dao.edu.cms.info;

import java.util.List;

import com.ai.model.edu.cms.info.dto.InfoPushApplicationDTO;
import com.ai.model.edu.cms.info.vo.InfoPushApplicationVO;

public interface InfoPushApplicationMapper {
	/**
     * 保存推送资讯申请记录
     */
    public Long insertInfoPushApplication(InfoPushApplicationDTO record);
	
	/**
     * 更新推送资讯申请记录
     */
    public Long updateInfoPushApplication(InfoPushApplicationDTO dto);
    
    /**
     * 根据条件查询推送资讯申请记录
     */
    public List<InfoPushApplicationVO> findInfoPushApplicationByDto(InfoPushApplicationDTO dto);
    
    /**
     * 计算满足条件查询推送资讯申请记录数
     */
    public Long countInfoPushApplicationByDto(InfoPushApplicationDTO dto);

    /**
     * 根据主键查询记录
     */
    public InfoPushApplicationVO selectInfoPushApplicationById(Long id);

	public void updateInfoPushStatus(InfoPushApplicationDTO info);

}